/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.groupa.project1.database;

import com.groupa.project1.database.interfaces.DBActionResult;
import com.groupa.project1.database.interfaces.DBActionResult;
import java.util.List;

/**
 *
 * @author nasy
 */
public class DBActionResultClass implements DBActionResult{

    private boolean IsOk;
    private String ErrorMsg;
    private List Result;
    private Throwable exception;
   
    
    public DBActionResultClass() {
        
    } 
    public boolean isOk() {
        return IsOk;
    }
    public void setOk(boolean IsOk) {
        this.IsOk = IsOk;
    }

    public String getErrorMsg() {
        return ErrorMsg;
    }

    public Throwable getException() {
        return exception;
    }

    public List getResult() {
        return Result;
    }

    public void setErrorMsg(String a_ErrorMsg) {
        this.ErrorMsg = a_ErrorMsg;
    }

    public void setException(Throwable a_Exception) {
        this.exception = a_Exception;
    }

    public void setResult(List a_Result) {
        this.Result = a_Result;
    }
    
}
